package com.english_test_sys.service;

import com.english_test_sys.pojo.Question;

import java.util.List;

    public interface QuestionService {
        List<Question> getQuestionsByCategoryAndType(String category, String type);
        List<Question> getQuestionsByDifficulty(Integer difficulty);
        void importQuestion(Question question);
        Question getQuestionById(Integer id);
        void updateQuestion(Question question);
        void deleteQuestion(Integer id);
    }
